package org.leiyang.common.factories;

import java.util.concurrent.TimeUnit;
import com.zhipu.oapi.ClientV4;

public class AiClientFactory {
    /**
     * 智谱AI客户端
     */
    private final static ClientV4 client = new ClientV4
            .Builder("effa6a5e4f5b7efd1a3912805679e031.YlCwNb1DaeLxuEJ3")
            .networkConfig(30000,30000,30000,30000, TimeUnit.MILLISECONDS)
            .build();

    public static ClientV4 create() {
        return client;
    }
}
